<!-- File: /app/View/Clientes/edit.ctp -->
<?php
$this->Html->addCrumb('Clientes', '/clientes');
$this->Html->addCrumb('Editar');
?>

<?php
    echo $this->Form->create('Cliente', array('action' => 'edit'));
	echo $this->Form->input('Cliente.nombre', array(
		'error' => array('notEmpty' => __('No puede estar vacio'))
		));
	echo $this->Form->input('apellido');
	echo $this->Form->input('dni');
	echo $this->Form->input('direccion');
	echo $this->Form->input('fecha_nac', array(
				'label' => 'Fecha de Nacimiento',
				'dateFormat' => 'DMY',
				'minYear' => date('Y') - 120,
				'maxYear' => date('Y') - 18,
			));
	echo $this->Form->input('email',array('type' => 'email'));	
	echo $this->Form->input('cel', array('label' => 'Celular'));	
	echo $this->Form->input('fijo', array('label' => 'Linea'));	
	echo $this->Form->select('ciudad_id',$ciudad_id);
	echo $this->Form->select('provincia_id',$provincia_id);
	echo $this->Form->select('pais_id',$pais_id);
	echo $this->Form->hidden('user_id');
	echo $this->Form->end('Grabar'); 